package com.neuedu.controller.physician;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import com.neuedu.bean.MedicalRecordSub;
import com.neuedu.service.physician.PhysicianMedicalRecord;

/**
 * 医生看诊：病历管理
 */
@RestController
public class PhysicianMedicalRecordController {
//	@Autowired
	private PhysicianMedicalRecord physicianMedicalRecord;
	
	@PostMapping("addHomeMedicalRecord")
	public String addHomeMedicalRecord(@RequestBody MedicalRecordSub mrs) {
//		System.out.println(map);
		String s = physicianMedicalRecord.addHomeMedicalRecord(mrs);
		return s;
	}
}
